Adding the http request header when uploading images.
editor.config.uploadImgHeaders = { Accept: 'text/x-json', a: 100, }